﻿using MediatR;
using SmartTracking.ErrorCode;
using System.ComponentModel.DataAnnotations;

namespace SmartTracking.API.Write.Application.Commands.PoultryHouse_command
{
    public class AddPoultryHouseCommand:IRequest<ApiResult<int>>
    {
        /// <summary>
        /// 栋舍类型ID
        /// </summary>
        public int HouseTypeId { get; set; }
        /// <summary>
        /// 栋舍名称
        /// </summary>
        public string HouseName { get; set; }
        /// <summary>
        /// 负责人
        /// </summary>
        public string PersonInCharge { get; set; }
        /// <summary>
        /// 生产人员
        /// </summary>
        public string ProductionPerson { get; set; }
        /// <summary>
        /// 栋舍状态
        /// </summary>
        public bool HouseStatus { get; set; }
        /// <summary>
        /// 创建用户
        /// </summary>
        public string? CreateUserNo { get; set; }
    }
}
